package cn.edu.sdjzu.xg.kcsj.domain;
import cn.edu.sdjzu.xg.kcsj.security.User;

public class SA {
    private Integer id;
    private int score;
    private User user;
    private Activity activity;
    private int available_id = 1;

    public SA(){}
    public SA(Integer id, int score, User user, Activity activity,int available_id){
        this.id = id;
        this.score = score;
        this.user = user;
        this.activity = activity;
        this.available_id = available_id;}
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Activity getActivity() {
        return activity;
    }

    public void setActivity(Activity activity) {
        this.activity = activity;
    }

    public int getAvailable_id() {
        return available_id;
    }

    public void setAvailable_id(int available_id) {
        this.available_id = available_id;
    }

    public String toString() {
        return "SA{" +
                "id=" + id +
                ", score=" + score +
                ", user=" + user +
                ", activity=" + activity +
                ", available_id=" + available_id +
                '}';
    }
}
